package com.jcake.vimlike.preferences;

import org.eclipse.jface.preference.*;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.IWorkbench;
import com.jcake.vimlike.Activator;

public class VimLikePreferencesPage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {

	public VimLikePreferencesPage() {
		super(GRID);
		setPreferenceStore(Activator.getDefault().getPreferenceStore());
		setDescription("VimLike preferences");
	}

	public void createFieldEditors() {
		addField(new BooleanFieldEditor(PreferenceConstants.P_SAVE_REGISTERS_ON_EXIT, "Persist &registers between sessions", getFieldEditorParent()));
	}

	public void init(IWorkbench workbench) {
	}

}